package cn.iocoder.yudao.module.lfd.convert.appointmentitem;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.lfd.controller.admin.appointmentitem.vo.*;
import cn.iocoder.yudao.module.lfd.dal.dataobject.appointmentitem.AppointmentItemDO;

/**
 * 预约项目 Convert
 *
 * @author 陈星星
 */
@Mapper
public interface AppointmentItemConvert {

    AppointmentItemConvert INSTANCE = Mappers.getMapper(AppointmentItemConvert.class);

    AppointmentItemDO convert(AppointmentItemCreateReqVO bean);

    AppointmentItemDO convert(AppointmentItemUpdateReqVO bean);

    AppointmentItemRespVO convert(AppointmentItemDO bean);

    List<AppointmentItemRespVO> convertList(List<AppointmentItemDO> list);

    PageResult<AppointmentItemRespVO> convertPage(PageResult<AppointmentItemDO> page);

    List<AppointmentItemExcelVO> convertList02(List<AppointmentItemDO> list);

}
